import { request } from '@/plugins/axios'
/** 分享链接 */
export const fetchShareLink = async (meetingMoid: string) =>
	request<{ conf_link: string }>({
		url: `/meetings/${meetingMoid}/link`,
		method: 'get',
	}).then((res) => (res.success && res.conf_link ? res.conf_link : undefined))
